package com.springboot.config;

import com.springboot.service.StudentService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class Hello {

    @Bean
    public StudentService hello2(){
        System.out.println("配置了");
        return new StudentService();
    }
}
